<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交网站供需列表样式</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* 通用样式 */
        .供需-demo {
            margin-bottom: 4rem;
            padding: 2rem;
            border: 1px solid #eaeaea;
            border-radius: 8px;
            background-color: white;
        }
        
        .demo-title {
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eaeaea;
        }
        
        .供需-card {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            margin-bottom: 1.5rem;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .供需-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        }
        
        .user-info img {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .stats {
            color: #6c757d;
            font-size: 0.875rem;
        }
        
        .stats i {
            margin-right: 4px;
        }
        
        .action-buttons button {
            transition: all 0.2s ease;
        }
        
        .action-buttons button:hover {
            transform: scale(1.05);
        }
        
        .供需-date {
            font-size: 0.875rem;
            color: #6c757d;
        }
        
        .供需-type {
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
        }
        
        .type-supply {
            background-color: #dcfce7;
            color: #166534;
        }
        
        .type-demand {
            background-color: #dbeafe;
            color: #1e40af;
        }
        
        .type-hot {
            background-color: #fee2e2;
            color: #dc2626;
        }
        
        /* 图片容器样式 */
        .images-container {
            display: flex;
            gap: 4px;
            margin: 0.75rem 0;
        }
        
        .images-container img {
            border-radius: 4px;
            object-fit: cover;
        }
        
        .single-image {
            width: 100%;
            max-height: 200px;
        }
        
        .multiple-images img {
            flex: 1;
            height: 120px;
        }
        
        .multiple-images img:nth-child(n+4) {
            display: none;
        }
        
        .image-count-badge {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background-color: rgba(0,0,0,0.7);
            color: white;
            border-radius: 4px;
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
        }
        
        /* 样式1：标准卡片式 */
        .style-1 .供需-card {
            border: 1px solid #eaeaea;
        }
        
        .style-1 .供需-content {
            padding: 1.25rem;
        }
        
        .style-1 .title {
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
            transition: color 0.2s;
        }
        
        .style-1 .title:hover {
            color: #0d6efd;
        }
        
        .style-1 .description {
            color: #495057;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 样式2：紧凑列表式 */
        .style-2 .供需-card {
            border: none;
            border-bottom: 1px solid #eaeaea;
            padding: 1rem 0;
        }
        
        .style-2 .供需-card:last-child {
            border-bottom: none;
        }
        
        .style-2 .title {
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }
        
        .style-2 .description {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        /* 样式3：带侧边统计的供需 */
        .style-3 .供需-card {
            border: 1px solid #eaeaea;
        }
        
        .style-3 .stats-sidebar {
            background-color: #f8fafc;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-right: 1px solid #eaeaea;
        }
        
        .style-3 .stat-value {
            font-size: 1.25rem;
            font-weight: bold;
            color: #333;
        }
        
        .style-3 .stat-label {
            font-size: 0.8rem;
            color: #6c757d;
            text-align: center;
        }
        
        .style-3 .供需-content {
            padding: 1rem;
        }
        
        /* 样式4：突出重点的供需 */
        .style-4 .供需-card {
            border-left: 4px solid #3b82f6;
            background-color: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        
        .style-4 .供需-header {
            padding: 1rem 1.25rem;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .style-4 .key-info {
            background-color: #f8fafc;
            padding: 1rem 1.25rem;
            border-top: 1px solid #e2e8f0;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .style-4 .key-info-label {
            font-size: 0.875rem;
            font-weight: 500;
            color: #1e40af;
            margin-bottom: 0.5rem;
            display: inline-block;
        }
        
        .style-4 .contact-info {
            font-size: 0.95rem;
            color: #333;
        }
        
        .style-4 .供需-footer {
            padding: 0.75rem 1.25rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .style-3 .stats-sidebar {
                border-right: none;
                border-bottom: 1px solid #eaeaea;
                flex-direction: row;
                gap: 2rem;
            }
            
            .action-buttons {
                margin-top: 0.75rem;
            }
            
            .style-4 .供需-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
        }
    </style>
</head>
<body class="p-4 bg-light">
    <div class="container">
        <h1 class="text-center mb-5">社交网站供需列表样式</h1>
        
        <!-- 样式1：标准卡片式 -->
        <div class="供需-demo style-1">
            <h3 class="demo-title">1. 标准卡片式供需</h3>
            
            <!-- 带单张图片的供应 -->
            <div class="供需-card">
                <div class="供需-content">
                    <div class="d-flex justify-content-between align-items-start mb-3">
                        <div class="user-info d-flex align-items-center">
                            <img src="https://picsum.photos/100/100?random=1" alt="发布者头像">
                            <div class="ms-2">
                                <div class="font-medium">张明</div>
                                <div class="text-sm text-muted">发布于 <span class="供需-date">2天前</span></div>
                            </div>
                        </div>
                        <span class="供需-type type-supply"><i class="fas fa-box me-1"></i> 供应</span>
                    </div>
                    
                    <h5 class="title">
                        <a href="#" class="text-dark text-decoration-none hover:text-primary">全新未拆封iPhone 14 Pro 256G出售，价格可议</a>
                    </h5>
                    
                    <p class="description">公司年会抽奖获得的iPhone 14 Pro 256G，紫色，全新未拆封。官网价7999元，现7500元出售，可小刀。北京地区可面交，其他地区包邮。有意者请联系。</p>
                    
                    <!-- 单张图片 -->
                    <div class="images-container position-relative">
                        <img src="https://picsum.photos/800/400?random=10" alt="iPhone 14 Pro产品图片" class="single-image">
                    </div>
                    
                    <div class="d-flex flex-wrap justify-content-between align-items-center gap-3 mt-3">
                        <div class="stats d-flex gap-4">
                            <span><i class="far fa-eye"></i> 3.2k 浏览</span>
                            <span><i class="far fa-handshake"></i> 24 个意向</span>
                            <span><i class="far fa-thumbs-up"></i> 56 点赞</span>
                        </div>
                        
                        <div class="action-buttons d-flex gap-2">
                            <button class="btn btn-sm btn-outline-primary rounded-pill">
                                <i class="far fa-thumbs-up me-1"></i> 点赞
                            </button>
                            <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                <i class="far fa-bookmark me-1"></i> 收藏
                            </button>
                            <button class="btn btn-sm btn-success rounded-pill">
                                <i class="fas fa-handshake me-1"></i> 联系
                            </button>
                            <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                <i class="fas fa-info-circle me-1"></i> 详情
                            </button>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 带多张图片的需求 -->
            <div class="供需-card">
                <div class="供需-content">
                    <div class="d-flex justify-content-between align-items-start mb-3">
                        <div class="user-info d-flex align-items-center">
                            <img src="https://picsum.photos/100/100?random=2" alt="发布者头像">
                            <div class="ms-2">
                                <div class="font-medium">李华</div>
                                <div class="text-sm text-muted">发布于 <span class="供需-date">1天前</span></div>
                            </div>
                        </div>
                        <span class="供需-type type-demand"><i class="fas fa-shopping-cart me-1"></i> 需求</span>
                    </div>
                    
                    <h5 class="title">
                        <a href="#" class="text-dark text-decoration-none hover:text-primary">求购二手笔记本电脑，预算5000元左右</a>
                    </h5>
                    
                    <p class="description">因工作需要，想购买一台二手笔记本电脑，主要用于编程和轻度设计工作。希望配置：i7处理器，16G内存，512G SSD，独立显卡。外观无明显损伤，电池续航正常。</p>
                    
                    <!-- 多张图片 -->
                    <div class="images-container multiple-images position-relative">
                        <img src="https://picsum.photos/300/200?random=11" alt="理想笔记本样式1" class="img-fluid">
                        <img src="https://picsum.photos/300/200?random=12" alt="理想笔记本样式2" class="img-fluid">
                        <img src="https://picsum.photos/300/200?random=13" alt="理想笔记本样式3" class="img-fluid">
                        <span class="image-count-badge">+1</span>
                    </div>
                    
                    <div class="d-flex flex-wrap justify-content-between align-items-center gap-3 mt-3">
                        <div class="stats d-flex gap-4">
                            <span><i class="far fa-eye"></i> 1.8k 浏览</span>
                            <span><i class="far fa-handshake"></i> 15 个意向</span>
                            <span><i class="far fa-thumbs-up"></i> 32 点赞</span>
                        </div>
                        
                        <div class="action-buttons d-flex gap-2">
                            <button class="btn btn-sm btn-outline-primary rounded-pill">
                                <i class="far fa-thumbs-up me-1"></i> 点赞
                            </button>
                            <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                <i class="far fa-bookmark me-1"></i> 收藏
                            </button>
                            <button class="btn btn-sm btn-success rounded-pill">
                                <i class="fas fa-handshake me-1"></i> 联系
                            </button>
                            <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                <i class="fas fa-info-circle me-1"></i> 详情
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 样式2：紧凑列表式 -->
        <div class="供需-demo style-2">
            <h3 class="demo-title">2. 紧凑列表式供需</h3>
            
            <!-- 带图片的供应 -->
            <div class="供需-card">
                <div class="row">
                    <div class="col-md-2 d-none d-md-block">
                        <div class="images-container">
                            <img src="https://picsum.photos/200/200?random=14" alt="手绘作品图片" style="width: 100%; height: 100px; object-fit: cover;">
                        </div>
                    </div>
                    <div class="col-md-10">
                        <h5 class="title">
                            <a href="#" class="text-dark text-decoration-none hover:text-primary">手绘肖像定制服务，价格实惠</a>
                        </h5>
                        
                        <p class="description">提供手绘肖像定制服务，可定制素描、水彩、油画等多种风格。可用于生日礼物、纪念日礼物等。提供电子版和实体画框装裱，价格根据尺寸和风格而定。</p>
                        
                        <div class="d-flex flex-wrap justify-content-between align-items-center">
                            <div class="d-flex flex-wrap gap-3 mt-1">
                                <div class="user-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=3" alt="发布者头像" style="width: 24px; height: 24px;">
                                    <span class="ms-1 text-sm text-muted">王丽</span>
                                </div>
                                
                                <span class="text-sm text-muted">3天前</span>
                                
                                <span class="供需-type type-supply"><i class="fas fa-box me-1"></i> 供应</span>
                                
                                <div class="stats d-flex gap-3">
                                    <span><i class="far fa-eye"></i> 1.2k</span>
                                    <span><i class="far fa-handshake"></i> 8</span>
                                    <span><i class="far fa-thumbs-up"></i> 45</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons d-flex gap-1">
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-thumbs-up"></i>
                                </button>
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-bookmark"></i>
                                </button>
                                <button class="btn btn-sm btn-success rounded-pill">
                                    <i class="fas fa-handshake"></i>
                                </button>
                                <button class="btn btn-sm btn-primary rounded-pill">
                                    <i class="fas fa-info-circle"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 无图片的需求 -->
            <div class="供需-card">
                <div class="row">
                    <div class="col-md-12">
                        <h5 class="title">
                            <a href="#" class="text-dark text-decoration-none hover:text-primary">寻求Python编程家教，线上授课</a>
                        </h5>
                        
                        <p class="description">本人零基础，想学习Python编程，主要用于数据分析和自动化办公。希望找一位有教学经验的老师，线上授课，每周2-3次，每次1-2小时。价格可议。</p>
                        
                        <div class="d-flex flex-wrap justify-content-between align-items-center">
                            <div class="d-flex flex-wrap gap-3 mt-1">
                                <div class="user-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=4" alt="发布者头像" style="width: 24px; height: 24px;">
                                    <span class="ms-1 text-sm text-muted">刘强</span>
                                </div>
                                
                                <span class="text-sm text-muted">5天前</span>
                                
                                <span class="供需-type type-demand"><i class="fas fa-shopping-cart me-1"></i> 需求</span>
                                
                                <div class="stats d-flex gap-3">
                                    <span><i class="far fa-eye"></i> 2.5k</span>
                                    <span><i class="far fa-handshake"></i> 19</span>
                                    <span><i class="far fa-thumbs-up"></i> 67</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons d-flex gap-1">
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-thumbs-up"></i>
                                </button>
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-bookmark"></i>
                                </button>
                                <button class="btn btn-sm btn-success rounded-pill">
                                    <i class="fas fa-handshake"></i>
                                </button>
                                <button class="btn btn-sm btn-primary rounded-pill">
                                    <i class="fas fa-info-circle"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 带多张图片的供应 -->
            <div class="供需-card">
                <div class="row">
                    <div class="col-md-2 d-none d-md-block">
                        <div class="images-container multiple-images position-relative" style="height: 100px;">
                            <img src="https://picsum.photos/200/100?random=15" alt="手工饰品1" class="img-fluid">
                            <img src="https://picsum.photos/200/100?random=16" alt="手工饰品2" class="img-fluid">
                            <span class="image-count-badge">+3</span>
                        </div>
                    </div>
                    <div class="col-md-10">
                        <h5 class="title">
                            <a href="#" class="text-dark text-decoration-none hover:text-primary">手作复古银饰出售，独一无二的设计</a>
                        </h5>
                        
                        <p class="description">本人手工制作的复古风格银饰，包括项链、手链、耳环等。每件都是独一无二的设计，925纯银材质，可根据需求定制。支持一件代发，批量订购有优惠。</p>
                        
                        <div class="d-flex flex-wrap justify-content-between align-items-center">
                            <div class="d-flex flex-wrap gap-3 mt-1">
                                <div class="user-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=5" alt="发布者头像" style="width: 24px; height: 24px;">
                                    <span class="ms-1 text-sm text-muted">陈静</span>
                                </div>
                                
                                <span class="text-sm text-muted">1周前</span>
                                
                                <span class="供需-type type-hot"><i class="fas fa-fire me-1"></i> 热门供应</span>
                                
                                <div class="stats d-flex gap-3">
                                    <span><i class="far fa-eye"></i> 4.7k</span>
                                    <span><i class="far fa-handshake"></i> 36</span>
                                    <span><i class="far fa-thumbs-up"></i> 128</span>
                                </div>
                            </div>
                            
                            <div class="action-buttons d-flex gap-1">
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-thumbs-up"></i>
                                </button>
                                <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                    <i class="far fa-bookmark"></i>
                                </button>
                                <button class="btn btn-sm btn-success rounded-pill">
                                    <i class="fas fa-handshake"></i>
                                </button>
                                <button class="btn btn-sm btn-primary rounded-pill">
                                    <i class="fas fa-info-circle"></i>
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 样式3：带侧边统计的供需 -->
        <div class="供需-demo style-3">
            <h3 class="demo-title">3. 带侧边统计的供需</h3>
            
            <!-- 无图片的需求 -->
            <div class="供需-card">
                <div class="row">
                    <div class="col-md-2 stats-sidebar">
                        <div class="d-flex flex-column align-items-center mb-3">
                            <span class="stat-value">28</span>
                            <span class="stat-label">意向</span>
                        </div>
                        <div class="d-flex flex-column align-items-center mb-3">
                            <span class="stat-value">5.2k</span>
                            <span class="stat-label">浏览</span>
                        </div>
                        <div class="d-flex flex-column align-items-center">
                            <span class="stat-value">94</span>
                            <span class="stat-label">点赞</span>
                        </div>
                    </div>
                    <div class="col-md-10">
                        <div class="供需-content">
                            <div class="d-flex justify-content-between align-items-start mb-2">
                                <h5 class="title">
                                    <a href="#" class="text-dark text-decoration-none hover:text-primary">求租市中心一居室，月租5000元以内</a>
                                </h5>
                                <span class="供需-type type-demand"><i class="fas fa-shopping-cart me-1"></i> 需求</span>
                            </div>
                            
                            <p class="description mb-3">想在市中心区域租一套一居室，面积50平米左右，月租5000元以内。要求交通便利，周边配套设施齐全，能做饭，有电梯优先。计划长期租住，希望房东好沟通。</p>
                            
                            <div class="d-flex flex-wrap justify-content-between align-items-center">
                                <div class="user-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=6" alt="发布者头像">
                                    <div class="ms-2">
                                        <div class="font-medium">赵刚</div>
                                        <div class="text-sm text-muted">发布于 <span class="供需-date">3天前</span></div>
                                    </div>
                                </div>
                                
                                <div class="action-buttons d-flex gap-2">
                                    <button class="btn btn-sm btn-outline-primary rounded-pill">
                                        <i class="far fa-thumbs-up me-1"></i> 点赞
                                    </button>
                                    <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                        <i class="far fa-bookmark me-1"></i> 收藏
                                    </button>
                                    <button class="btn btn-sm btn-success rounded-pill">
                                        <i class="fas fa-handshake me-1"></i> 联系
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 带图片的供应 -->
            <div class="供需-card">
                <div class="row">
                    <div class="col-md-2 stats-sidebar">
                        <div class="d-flex flex-column align-items-center mb-3">
                            <span class="stat-value">15</span>
                            <span class="stat-label">意向</span>
                        </div>
                        <div class="d-flex flex-column align-items-center mb-3">
                            <span class="stat-value">2.1k</span>
                            <span class="stat-label">浏览</span>
                        </div>
                        <div class="d-flex flex-column align-items-center">
                            <span class="stat-value">47</span>
                            <span class="stat-label">点赞</span>
                        </div>
                    </div>
                    <div class="col-md-10">
                        <div class="供需-content">
                            <div class="d-flex justify-content-between align-items-start mb-2">
                                <h5 class="title">
                                    <a href="#" class="text-dark text-decoration-none hover:text-primary">闲置健身器材转让，几乎全新</a>
                                </h5>
                                <span class="供需-type type-supply"><i class="fas fa-box me-1"></i> 供应</span>
                            </div>
                            
                            <p class="description mb-3">因搬家原因，转让家用健身器材一套，包括跑步机、哑铃套装和瑜伽垫。都是去年购买的，使用不超过10次，几乎全新。可分开购买，打包买有优惠。北京朝阳区自提。</p>
                            
                            <!-- 单张图片 -->
                            <div class="images-container mb-3">
                                <img src="https://picsum.photos/600/300?random=17" alt="健身器材图片" class="single-image">
                            </div>
                            
                            <div class="d-flex flex-wrap justify-content-between align-items-center">
                                <div class="user-info d-flex align-items-center">
                                    <img src="https://picsum.photos/100/100?random=7" alt="发布者头像">
                                    <div class="ms-2">
                                        <div class="font-medium">孙丽</div>
                                        <div class="text-sm text-muted">发布于 <span class="供需-date">1周前</span></div>
                                    </div>
                                </div>
                                
                                <div class="action-buttons d-flex gap-2">
                                    <button class="btn btn-sm btn-outline-primary rounded-pill">
                                        <i class="far fa-thumbs-up me-1"></i> 点赞
                                    </button>
                                    <button class="btn btn-sm btn-outline-secondary rounded-pill">
                                        <i class="far fa-bookmark me-1"></i> 收藏
                                    </button>
                                    <button class="btn btn-sm btn-success rounded-pill">
                                        <i class="fas fa-handshake me-1"></i> 联系
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 样式4：突出重点的供需 -->
        <div class="供需-demo style-4">
            <h3 class="demo-title">4. 突出重点的供需</h3>
            
            <!-- 无图片的供应 -->
            <div class="供需-card">
                <div class="供需-header">
                    <h5 class="title mb-2">
                        <a href="#" class="text-dark text-decoration-none hover:text-primary">专业摄影服务，承接各类活动拍摄</a>
                    </h5>
                    
                    <div class="user-info d-flex align-items-center mb-2">
                        <img src="https://picsum.photos/100/100?random=8" alt="发布者头像">
                        <div class="ms-2">
                            <div class="font-medium">摄影工作室</div>
                            <div class="text-sm text-muted">发布于 <span class="供需-date">2周前</span> · <i class="far fa-eye"></i> 6.8k 浏览</div>
                        </div>
                    </div>
                    
                    <p class="description">专业摄影团队，提供商业摄影、活动摄影、人像写真、产品拍摄等服务。拥有专业设备和5年以上经验，可提供上门服务。价格透明，成片交付快。欢迎咨询详情。</p>
                </div>
                
                <!-- 关键信息 -->
                <div class="key-info">
                    <span class="key-info-label">服务详情</span>
                    <div class="contact-info mb-2">
                        <p><strong>服务范围：</strong>商业摄影、活动跟拍、人像写真、产品拍摄</p>
                        <p><strong>价格区间：</strong>500-3000元/次（根据服务类型而定）</p>
                        <p><strong>服务区域：</strong>全国（异地需承担差旅费用）</p>
                    </div>
                    <div class="d-flex gap-3">
                        <span class="text-sm text-muted"><i class="far fa-handshake"></i> 42 个意向</span>
                        <span class="text-sm text-muted"><i class="fas fa-star text-warning"></i> 4.9 (36条评价)</span>
                    </div>
                </div>
                
                <div class="供需-footer">
                    <div class="stats d-flex gap-4">
                        <span><i class="far fa-thumbs-up"></i> 156 点赞</span>
                        <span><i class="far fa-bookmark"></i> 218 人收藏</span>
                    </div>
                    
                    <div class="action-buttons d-flex gap-2">
                        <button class="btn btn-sm btn-outline-primary rounded-pill">
                            <i class="far fa-thumbs-up me-1"></i> 点赞
                        </button>
                        <button class="btn btn-sm btn-outline-secondary rounded-pill">
                            <i class="far fa-bookmark me-1"></i> 收藏
                        </button>
                        <button class="btn btn-sm btn-success rounded-pill">
                            <i class="fas fa-handshake me-1"></i> 联系商家
                        </button>
                        <button class="btn btn-sm btn-outline-secondary rounded-pill">
                            <i class="fas fa-info-circle me-1"></i> 查看详情
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 带多张图片的需求 -->
            <div class="供需-card">
                <div class="供需-header">
                    <h5 class="title mb-2">
                        <a href="#" class="text-dark text-decoration-none hover:text-primary">寻找专业室内设计师，打造120平米三居室</a>
                    </h5>
                    
                    <div class="user-info d-flex align-items-center mb-2">
                        <img src="https://picsum.photos/100/100?random=9" alt="发布者头像">
                        <div class="ms-2">
                            <div class="font-medium">周先生</div>
                            <div class="text-sm text-muted">发布于 <span class="供需-date">4天前</span> · <i class="far fa-eye"></i> 3.2k 浏览</div>
                        </div>
                    </div>
                    
                    <p class="description">新买的120平米三居室需要装修，想找一位有经验的室内设计师。偏好现代简约风格，注重空间利用和收纳设计。希望能提供全套设计方案，包括效果图、施工图和材料清单。预算可议。</p>
                    
                    <!-- 多张图片 -->
                    <div class="images-container multiple-images mb-2">
                        <img src="https://picsum.photos/300/200?random=18" alt="房屋现状1" class="img-fluid">
                        <img src="https://picsum.photos/300/200?random=19" alt="房屋现状2" class="img-fluid">
                        <img src="https://picsum.photos/300/200?random=20" alt="喜欢的风格参考" class="img-fluid">
                    </div>
                </div>
                
                <!-- 关键信息 -->
                <div class="key-info">
                    <span class="key-info-label">需求详情</span>
                    <div class="contact-info mb-2">
                        <p><strong>房屋面积：</strong>120平米三居室</p>
                        <p><strong>装修风格：</strong>现代简约</p>
                        <p><strong>预算范围：</strong>设计费1-3万元</p>
                        <p><strong>所在城市：</strong>上海市</p>
                    </div>
                    <div class="d-flex gap-3">
                        <span class="text-sm text-muted"><i class="far fa-handshake"></i> 27 个意向</span>
                        <span class="text-sm text-muted"><i class="far fa-thumbs-up"></i> 89 点赞</span>
                    </div>
                </div>
                
                <div class="供需-footer">
                    <div class="stats d-flex gap-4">
                        <span><i class="far fa-comment"></i> 18 条留言</span>
                        <span><i class="far fa-bookmark"></i> 76 人收藏</span>
                    </div>
                    
                    <div class="action-buttons d-flex gap-2">
                        <button class="btn btn-sm btn-outline-primary rounded-pill">
                            <i class="far fa-thumbs-up me-1"></i> 点赞
                        </button>
                        <button class="btn btn-sm btn-outline-secondary rounded-pill">
                            <i class="far fa-bookmark me-1"></i> 收藏
                        </button>
                        <button class="btn btn-sm btn-success rounded-pill">
                            <i class="fas fa-handshake me-1"></i> 承接需求
                        </button>
                        <button class="btn btn-sm btn-outline-secondary rounded-pill">
                            <i class="fas fa-info-circle me-1"></i> 查看详情
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        // 为交互按钮添加功能
        document.addEventListener('DOMContentLoaded', function() {
            // 点赞按钮交互
            const likeButtons = document.querySelectorAll('button:has(.far.fa-thumbs-up)');
            likeButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const icon = this.querySelector('.far.fa-thumbs-up');
                    if (icon) {
                        // 切换图标
                        icon.classList.toggle('far');
                        icon.classList.toggle('fas');
                        
                        // 切换按钮样式
                        this.classList.toggle('btn-outline-primary');
                        this.classList.toggle('btn-primary');
                    }
                });
            });
            
            // 收藏按钮交互
            const bookmarkButtons = document.querySelectorAll('button:has(.far.fa-bookmark)');
            bookmarkButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const icon = this.querySelector('.far.fa-bookmark');
                    if (icon) {
                        icon.classList.toggle('far');
                        icon.classList.toggle('fas');
                        
                        // 切换按钮样式
                        this.classList.toggle('btn-outline-secondary');
                        this.classList.toggle('btn-success');
                    }
                });
            });
            
            // 联系按钮交互
            const contactButtons = document.querySelectorAll('button:has(.fas.fa-handshake)');
            contactButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const card = this.closest('.供需-card');
                    const title = card.querySelector('.title a').textContent;
                    alert(`准备联系："${title}"`);
                    // 实际应用中可以跳转到联系页面或显示联系表单
                });
            });
            
            // 详情按钮交互
            const detailButtons = document.querySelectorAll('button:has(.fas.fa-info-circle)');
            detailButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const card = this.closest('.供需-card');
                    const title = card.querySelector('.title a').textContent;
                    alert(`查看详情："${title}"`);
                    // 实际应用中可以跳转到详情页
                });
            });
        });
    </script>
</body>
</html>
    
